package com.offcn.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ThymeleafController {
    @RequestMapping("demo")
    public String demo1(Model model) {
        String msg = "abc";
        model.addAttribute("msg", msg);
        return "test1";
    }
}
